package store.lunangangster.engine.impl.query;

import store.lunangangster.engine.impl.entity.History;

public interface HistoryQuery extends Query<HistoryQuery, History> {

  HistoryQuery id(String id);

  HistoryQuery processDefinitionId(String processDefinitionId);

  HistoryQuery processDefinitionKey(String processDefinitionKey);

  HistoryQuery processDefinitionKeyLike(String processDefinitionKeyLike);

  HistoryQuery processInstanceId(String processInstanceId);

  HistoryQuery processInstanceName(String processInstanceName);

  HistoryQuery processInstanceNameLike(String processInstanceNameLike);

  HistoryQuery parentScopeId(String parentScopeId);

  HistoryQuery parentScopeName(String parentScopeName);

  HistoryQuery parentScopeNameLike(String parentScopeNameLike);

  static class HistoryOrderProperty extends AbstractOrderProperty {

    public HistoryOrderProperty(String name) {
      super(name);
    }

    public static final HistoryOrderProperty FINISH_TIME = new HistoryOrderProperty("finish_time");

  }
}
